{include file='header.tpl'}
<form method="post" action="/account/login">
<fieldset>
	<input type="hidden" name="redirect" value="{$redirect|escape}" />
	<legend>登录</legend>
	<div class="row" id="form_username_container">
		<label for="form_username">用户名</label>
		<span><input class="inbox" type="text" id="form_username" 
		name="username"" /></span>
		{include file='lib/error.tpl' error=$errors.username}
	</div>
	
	<div class="row" id="form_password_container">
		<label for="form_password">密码</label>
		<span><input class="inbox" type="password" id="form_password" 
		name="password" value="" /></span>
		{include file='lib/error.tpl' error=$errors.password}
	</div>
	<div><a href="/account/fetchpassword">忘记密码?</a></div>
	<div>
		<input class="submit" type="submit" name="submit" value="提交" />
	</div>
</fieldset>
</form>
{include file='footer.tpl'}